package git.soulbgm.common.pojo;

import lombok.extern.slf4j.Slf4j;
import okhttp3.Call;
import okhttp3.Callback;
import java.io.IOException;

/**
 * @author SoulBGM
 * @version 1.0
 * @date 2019/7/4 17:21
 */
@Slf4j
public abstract class BaseCallback implements Callback {

    @Override
    public void onFailure(Call call, IOException e) {
        log.error("请求{}出现异常", call.request().url().toString(), e);
    }

}